import state from './state'
import { SET_GOODS_LIST_HEIGHT, SET_VIEW_HEIGHT } from './mutations-types'
export default {
  [SET_GOODS_LIST_HEIGHT](state, payload) {
    state.goodsListHeight = payload.goodsListHeight
  },
  [SET_VIEW_HEIGHT](state, payload) {
    state.viewHeight = payload.viewHeight
  }
}
